package com.wt.chat.mapper;

import com.wt.chat.entity.Kefu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface KefuMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Kefu record);

    int insertSelective(Kefu record);

    Kefu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Kefu record);

    int updateByPrimaryKey(Kefu record);

    Kefu findByUsername(@Param("username") String username);
}